package com.company.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.company.common.annotation.Excel;
import com.company.common.core.domain.BaseEntity;

/**
 * 员工培训对象 table_persontrain
 * 
 * @author company
 * @date 2022-07-09
 */
public class TablePersontrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工培训序号 */
    private Long persionid;

    /** 培训日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traindate;

    /** 培训内容 */
    @Excel(name = "培训内容")
    private String traincontent;

    public void setPersionid(Long persionid) 
    {
        this.persionid = persionid;
    }

    public Long getPersionid() 
    {
        return persionid;
    }
    public void setTraindate(Date traindate) 
    {
        this.traindate = traindate;
    }

    public Date getTraindate() 
    {
        return traindate;
    }
    public void setTraincontent(String traincontent) 
    {
        this.traincontent = traincontent;
    }

    public String getTraincontent() 
    {
        return traincontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("persionid", getPersionid())
            .append("traindate", getTraindate())
            .append("traincontent", getTraincontent())
            .append("remark", getRemark())
            .toString();
    }
}
